﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/EHTAdmin.Master" AutoEventWireup="true" CodeBehind="EHTInterfaces.aspx.cs" Inherits="EHTWebsiteProject.Administrator.EHTInterfaces" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuModulContent" runat="server">
<div class="MenuSub-Left" >
        <table>
            <tr>
                <td> <img alt="" src="../images/EHTgiaodien/icon-48-category.png" width="48px" height="48px" /></td>               
                <td><asp:Label ID="lbNgonNguManager" runat="server" Text="Quản lý phân vùng giao diện " ></asp:Label></td>                
            </tr>
        </table>           
    </div>
    <div class="MenuSub-Right" align="right">
        <table style="height:60px">
           <tr>
                <td valign="middle">
                    <div class="add-edit-del">                        
                            <asp:ImageButton ID="ImgMacDinh" 
                                ImageUrl="~/images/EHTgiaodien/icon-32-default.png" width="32px" height="32px" 
                                class="imagboder" runat="server" onclick="ImgMacDinh_Click" />
                            <br />
                            <asp:Label ID="lbMacDinh" runat="server" Text="Mặc định"></asp:Label>
                        
                    </div>
                </td>

                 <td valign="middle">
                    <div class="add-edit-del">                      
                            <img alt="" src="../images/EHTgiaodien/icon-32-help.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbHelp" runat="server" Text="Trợ giúp"></asp:Label>                        
                    </div>
                </td>                
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<asp:Literal ID="ltrErorr" runat="server"></asp:Literal>
 <div style="padding-top:10px;">
     <asp:Panel ID="plGiaoDienVN" runat="server">
         <asp:Repeater ID="rpGiaoDien" runat="server" 
            onitemdatabound="rpGiaoDien_ItemDataBound" >                     
        <HeaderTemplate>
            <table ID="table" border="0" cellpadding="0" cellspacing="0" >
                 <thead>
                    <tr>
                                     <th>
                                        
                                    </th>                        
                                                                       
                                    <th>
                                        <asp:Label ID="lbLoaiGiaoDien" runat="server" Text=" Loại giao diện"></asp:Label>                            
                                    </th>
                                    <th>
                                        <asp:Label ID="lbTangThai" runat="server" Text="Mặc định"></asp:Label>                             
                                    </th>                                                                                                                                                    
                    </tr>
                 </thead>
                 <tbody>            
        </HeaderTemplate>
        <ItemTemplate>
                 <tr>
                        <td>
                            <asp:CheckBox ID="ckMenu"  runat="server" />
                            <asp:Label ID="lbDelID" runat="server" Visible="false" Text='<%#Eval("GiaoDienID")%>'></asp:Label>
                        </td>
                       
                        <td>
                           <%#Eval("Mota")%>
                        </td>
                        <td>
                            <asp:Label ID="lbTrangThai" runat="server" Text='<%#Eval("TrangThai") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="ImgMacDinh"  Height="16" Width="16" runat="server" />
                        </td>                                             
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
             </table>
        </FooterTemplate>
    </asp:Repeater>
     </asp:Panel>
     <asp:Panel ID="plGiaoDienOther" runat="server">
         <asp:Repeater ID="rpGiaoDienOther" runat="server" 
            onitemdatabound="rpGiaoDienOther_ItemDataBound" >                     
        <HeaderTemplate>
            <table ID="table" border="0" cellpadding="0" cellspacing="0" >
                 <thead>
                    <tr>
                                     <th>
                                        
                                    </th>                        
                                                                       
                                    <th>
                                        <asp:Label ID="lbLoaiGiaoDien" runat="server" Text=" Type Interfaces"></asp:Label>                            
                                    </th>
                                    <th>
                                        <asp:Label ID="lbTangThai" runat="server" Text="Default"></asp:Label>                             
                                    </th>                                                                                                                                                    
                    </tr>
                 </thead>
                 <tbody>            
        </HeaderTemplate>
        <ItemTemplate>
                 <tr>
                        <td>
                            <asp:CheckBox ID="ckMenu"  runat="server" />
                            <asp:Label ID="lbDelID" runat="server" Visible="false" Text='<%#Eval("GiaoDienID")%>'></asp:Label>
                        </td>
                       
                        <td>
                           <%#Eval("MotaOther")%>
                        </td>
                        <td>
                            <asp:Label ID="lbTrangThai" runat="server" Text='<%#Eval("TrangThai") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="ImgMacDinh"  Height="16" Width="16" runat="server" />
                        </td>                                             
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
             </table>
        </FooterTemplate>
    </asp:Repeater>
     </asp:Panel>
    </div>
</asp:Content>
